﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SwenAssignment3.Classes;

namespace SwenAssignment3.RoomAvailabilityCumBookingModule
{
    public partial class CheckIn : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DRHotelDBManager.retrieveBookingByID(tbxBookingID.Text);
            lblCheckIn.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
            if(lblPayment.Text == "Cash")
            {
                Panel1.Visible = false;
            }
            // Unit testing & Integration test
            // Program
            // Subversion
        }
    }
}